//
//  personInfoTableViewCell.m
//  觅影
//
//  Created by  陶虹 on 16/4/11.
//  Copyright © 2016年  陶虹. All rights reserved.
//

#import "personInfoTableViewCell.h"

@interface personInfoTableViewCell ()
@property (strong, nonatomic) IBOutlet UILabel *titleLabel;

@property (strong, nonatomic) IBOutlet UIView *tagsView;
@property (strong, nonatomic) IBOutlet UIButton *iconButton;


@end

@implementation personInfoTableViewCell

- (void)configureCellWithModel:(PersonInfoNoteBookModel *)model{
    self.titleLabel.text = model.movie_title;
    [self.iconButton setImage:[UIImage imageWithData:[NSData dataWithContentsOfURL:[NSURL URLWithString:model.poster]]] forState:UIControlStateNormal];
    self.contentLabel.text = model.message;
    
}
// 电影海报点击事件
- (IBAction)iconButtonAction:(id)sender {
    
}

- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
